package org.greenwire.islandharvester.domain;


/**
 * 快乐岛主码头对象
 * @author wei.zhongw
 *
 */
public class Dock implements Container {
	
	private String uid;
	
	private Boat[] boatPositions = new Boat[20];

	@Override
	public String getOwnerUid() {
		return getUid();
	}

	@Override
	public Harvestable[] getHarvestables() {	
		return getBoatPositions();
	}

	public Boat[] getBoatPositions() {
		return boatPositions;
	}

	public void setBoatPositions(Boat[] boatPositions) {
		this.boatPositions = boatPositions;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getUid() {
		return uid;
	}
}
